package com.lucher.mes.po;

import java.util.List;

public class Material extends BaseField{
	private static final long serialVersionUID = 1L;

	private Integer id;

    private String materialcode;

    private String materialname;

    private String materialunit;

    private Integer depotamount;

    private String materialstatus;

    private String remark;

    private Material material;
	private List<Material> materiallist;
    
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMaterialcode() {
        return materialcode;
    }

    public void setMaterialcode(String materialcode) {
        this.materialcode = materialcode == null ? null : materialcode.trim();
    }

    public String getMaterialname() {
        return materialname;
    }

    public void setMaterialname(String materialname) {
        this.materialname = materialname == null ? null : materialname.trim();
    }

    public String getMaterialunit() {
        return materialunit;
    }

    public void setMaterialunit(String materialunit) {
        this.materialunit = materialunit == null ? null : materialunit.trim();
    }

    public Integer getDepotamount() {
        return depotamount;
    }

    public void setDepotamount(Integer depotamount) {
        this.depotamount = depotamount;
    }

    public String getMaterialstatus() {
        return materialstatus;
    }

    public void setMaterialstatus(String materialstatus) {
        this.materialstatus = materialstatus == null ? null : materialstatus.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

	public Material getMaterial() {
		return material;
	}

	public void setMaterial(Material material) {
		this.material = material;
	}

	public List<Material> getMateriallist() {
		return materiallist;
	}

	public void setMateriallist(List<Material> materiallist) {
		this.materiallist = materiallist;
	}
}